package cn.lut.da04.impl;


import cn.lut.da04.SomeService;
import org.springframework.stereotype.Component;

/**
 * @user:dell
 * @date:2020年10月29 20:19
 */
@Component("myService4")
public class SomeServiceImpl implements SomeService {
    @Override
    public void doSome(String name,int age) {

        System.out.println("doSome()方法执行了");
    }

    @Override
    public String doOther(String name, Integer age) {
        System.out.println("doOther要执行了哦");

        return name;
    }

    @Override
    public String doFirst(String name, Integer age) {
        System.out.println("doFirst执行了哦");
        return name;
    }

    @Override
    public void doSecond() {
        System.out.println("doSecond() 执行了哦"+(10/0));
    }

    @Override
    public void doLast() {
        System.out.println("doLast()执行了哦");
    }


}
